
  ::CarrierWave.configure do |config|
    config.storage              = :qiniu
    config.qiniu_access_key     = ENV["QINIU_ACCESS_KEY"]
    config.qiniu_secret_key     = ENV["QINIU_SECRET_KEY"]
    config.qiniu_bucket         = ENV["QINIU_BUCKET"]
    config.qiniu_bucket_domain = "oo6kh4xmz.bkt.clouddn.com"
    config.qiniu_bucket_private = false #default is false
    config.qiniu_block_size     = 4*1024*1024
    config.qiniu_protocol       = "http"
  end
